﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ExchangeListener
{
    class Appointment
    {
        public string ID { get; set; }
        public string Subject { get; set; }
        public string Location { get; set; }
        public DateTime Start { get; set; }
        public int ReminderMinutesBeforeStart { get; set; }
        public DateTime RemindTime
        {
            get
            {
                return Start.AddMinutes(-ReminderMinutesBeforeStart);
            }
        }
        public bool IsNotified { get; set; }
    }
}
